﻿using WareHose.Application.Admins.Dto;
using WareHouse.Domain;

namespace WareHose.Application.Admins
{
    public interface IAdminService
    {
        Task<ResultDto> AddUpdAsync(AddOrUpdAdminDto addOrUpdAdminDto);
        Task<ResultDto<LoginData>> LoginAsync(LoginDto loginDto);
        Task<ResultDto<PermissionDto>> Info();
        Task<ResultDto> AdminDelete(string AdminId);
        Task<ResultDtos<List<AddOrUpdAdminDto>>> AdminPage(string UserName, int? Job, int? DeparementId, int? RoleId, int pageIndex = 1, int pageSize = 4);
    }
}